package com.itjeffrey.autocode.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * MOCK接口实体类
 * @author: admin
 * @date: 2020-12-28 23:51:59
 */
@TableName("mock_interface_tb")
public class MockInterfaceTbEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 接口名称
     */
    private String itfName;

    /**
     * 接口路径
     */
    private String itfUrl;

    /**
     * 请求方式
     */
    private String itfMethod;

    /**
     * 响应参数格式
     */
    private String respParams;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateUser;

    public void setId(Integer id){
        this.id = id;
    }

    public Integer getId(){
        return this.id;
    }

    public void setItfName(String itfName){
        this.itfName = itfName;
    }

    public String getItfName(){
        return this.itfName;
    }

    public void setItfUrl(String itfUrl){
        this.itfUrl = itfUrl;
    }

    public String getItfUrl(){
        return this.itfUrl;
    }

    public void setItfMethod(String itfMethod){
        this.itfMethod = itfMethod;
    }

    public String getItfMethod(){
        return this.itfMethod;
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getCreateTime(){
        return this.createTime;
    }

    public void setCreateUser(String createUser){
        this.createUser = createUser;
    }

    public String getCreateUser(){
        return this.createUser;
    }

    public String getRespParams() {
        return respParams;
    }

    public void setRespParams(String respParams) {
        this.respParams = respParams;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "MockInterfaceTbEntity{" +
                "id=" + id +
                ", itfName='" + itfName + '\'' +
                ", itfUrl='" + itfUrl + '\'' +
                ", itfMethod='" + itfMethod + '\'' +
                ", respParams='" + respParams + '\'' +
                ", createTime=" + createTime +
                ", createUser='" + createUser + '\'' +
                ", updateTime=" + updateTime +
                ", updateUser='" + updateUser + '\'' +
                '}';
    }
}